<?php 
//print_r($detailtour);
?>
<!DOCTYPE html>

<html lang="en">
<head>
	<meta charset="utf-8">
	<?php include_once 'meta.php';?>

	<link rel="stylesheet" href="<?php echo base_url();?>css/reset.css" type="text/css" media="screen" />

	<!--[if ! lte IE 6]><!-->
	<link rel="stylesheet" href="<?php echo base_url();?>css/style.css" type="text/css" media="screen" />
	<!--<![endif]-->

	<!--[if gt IE 6]>
	<link rel="stylesheet" href="<?php echo base_url();?>css/ie.css" type="text/css" media="screen" />
	<![endif]-->

	<!--[if IE 7]>
	<link rel="stylesheet" href="<?php echo base_url();?>css/ie7.css" type="text/css" media="screen" />
	<![endif]-->

	<!--[if lte IE 6]>
	<link rel="stylesheet" href="http://universal-ie6-css.googlecode.com/files/ie6.1.1.css" media="screen, projection">
	<![endif]-->

	<link rel="stylesheet" href="<?php echo base_url();?>css/fancybox.css" type="text/css" media="screen" />
</head>
<body>


<!-- header -->
<?php include_once 'header.php';?>
<!--  end header -->

<div id="content" class="detail">

	<div class="container">

		<div id="main" class="fullwidth">

			<div class="entry single">

				<div class="entry-header">

					<h2 class="title"><?php echo $detailtour[0]["name_$lang"]; ?></h2>
					<form action="<?php echo base_url()."reservation/listtours"?>" method="post">
				<input type="hidden" name="code" value="<?php echo $detailtour[0]["bookingcode"];?>"/>
				<input  class="button" type="submit" value="<?php echo lang("booking")?>"/>
				</form>

					<p class="meta"> <a href="javascript:void(0);" style="text-decoration: none;"><?php echo $detailtour[0]["subtitle_$lang"]; ?></a></p>

				</div><!-- end .entry-header -->

				<div class="entry-content">
				
				<div class="zoom">
						<a class="single_image" href="http://www.voyagewonder.net/bookingsystem/ssh/webtours-<?php echo $detailtour[0]["idweb_travel"]; ?>.jpg">
							<img src="http://www.voyagewonder.net/bookingsystem/ssh/webtours-<?php echo $detailtour[0]["idweb_travel"]; ?>.jpg" width="650" height="210" title ="Agence Wonder Travel|<?php echo $detailtour[0]["desc_$lang"];?>" alt="Agence Wonder Travel|<?php echo $detailtour[0]["desc_$lang"];?>" class="entry-image" />
						</a>
				</div>
				
					<p>
						<?php echo $detailtour[0]["desc_$lang"];?>
					</p>

				</div><!-- end .entry-content -->

				<div class="entry-footer" style="font-size: 14px;">

					<?php if ( $detailtour[0]["with_room"]==1){?>
						<table class="moredayform" width="90%" cellspacing="1" cellpadding="1" border="0" align="left" class="table_num">
                                      <tbody><tr>
                                        <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblOccupancy"><?php echo lang("Occupancy"); ?></span></th>
                                        <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblQuad"><?php echo lang("Quad.");?></span></th>
                                        <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblTriple"><?php echo lang("Triple"); ?></span></th>
                                        <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblDouble"><?php echo lang("Twin"); ?></span></th>
                                        <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblSingle"><?php echo lang("Simple"); ?></span></th>
                                        <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblChild"><?php echo lang("Enfant"); ?></span></th>
                                       
                                      </tr>
                                      <tr>
                                        <td height="25" align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblFee"><?php echo lang("regular");?></span></td>
                                        <td align="center"><span  class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblQuadPrice">$<?php  echo $detailtour[0]['reg_1'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblTriplePrice">$<?php  echo $detailtour[0]['reg_2'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblDoublePrice">$<?php  echo $detailtour[0]['reg_3'] ;?></span></td>
                                        <td align="center"><span  class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblSinglePrice">$<?php  echo $detailtour[0]['reg_4'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblChildPrice">$<?php  echo $detailtour[0]['reg_child'] ;?></span></td>
                                        
                                      </tr>
                                      <tr>
                                        <td height="25" align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblFeeOnline"><?php echo lang("En_Ligne");?></span></td>
                                        <td align="center"><span class="price"  id="ctl00_ctl00_Content_CenterPane_ctl00_lblQuadPriceOnline">$<?php  echo $detailtour[0]['line_1'] ;?></span></td>
                                        <td align="center"><span  class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblTriplePriceOnline">$<?php  echo $detailtour[0]['line_2'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblDoublePriceOnline">$<?php  echo $detailtour[0]['line_3'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblSinglePriceOnline">$<?php echo $detailtour[0]['line_4'] ;?></span></td>
                                        <td align="center"><span class="price"  id="ctl00_ctl00_Content_CenterPane_ctl00_lblChildPriceOnline">$<?php echo $detailtour[0]['line_child'] ;?></span></td>
                                       
                                      </tr>
                                      <tr>
                                        <td height="25" align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblFeeSpecial"><?php echo lang("member");?></span></td>
                                        <td align="center"><span  class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblQuadPriceSpecial">$<?php  echo $detailtour[0]['member_1'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblTriplePriceSpecial">$<?php  echo $detailtour[0]['member_2'] ;?></span></td>
                                        <td align="center"><span  class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblDoublePriceSpecial">$<?php  echo $detailtour[0]['member_3'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblSinglePriceSpecial">$<?php  echo $detailtour[0]['member_4'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblChildPriceSpecial">$<?php   echo $detailtour[0]['member_child'] ;?></span></td>
                                      
                                      </tr>
                                    </tbody>
                     </table>
                    <?php }else{ ?>
                     
       				<table class="onedayform" width="50%" cellspacing="1" cellpadding="1" border="0" align="left"  style="margin-left:200px;" class="table_num">
                                      <tbody><tr>
                                        <td align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblPersonType"></span></td>
                                        <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblOccupancy"><?php echo lang("regular");?></span></td>
                                         <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblOccupancy"><?php echo lang("En_Ligne");?></span></td>
                                         <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblOccupancy"><?php echo lang("member");?></span></td>
                                      </tr>
                                      <tr>
                                         <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblOccupancy"><?php echo lang("Adulte");?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblAdultPrice0">$<?php  echo $detailtour[0]['reg_ad'] ;?></span></td>
                                        <td align="center"><span class="price"  id="ctl00_ctl00_Content_CenterPane_ctl00_lblAdultPriceOnline0">$<?php  echo $detailtour[0]['line_ad'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblAdultPriceSpecial0">$<?php  echo $detailtour[0]['member_ad'] ;?></span></td>
                                      </tr>
                                      <tr>
                                         <th align="center"><span id="ctl00_ctl00_Content_CenterPane_ctl00_lblOccupancy"><?php echo lang("Enfant"); ?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblChildPrice0">$<?php  echo $detailtour[0]['reg_child_1'] ;?></span></td>
                                        <td align="center"><span  class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblChildPriceOnline0">$<?php  echo $detailtour[0]['line_child_1'] ;?></span></td>
                                        <td align="center"><span class="price" id="ctl00_ctl00_Content_CenterPane_ctl00_lblChildPriceSpecial0">$<?php  echo $detailtour[0]['member_child_1'] ;?></span></td>
                                      </tr>
                                    </tbody>
                     </table>     
                    <?php }?>         

				</div><!-- end .entry-footer -->
				
			</div><!-- end .entry -->

		</div><!-- end #main -->
		
	</div><!-- end .container -->

</div><!-- end #content -->

<!--  footer and footer bottom -->
<?php include_once 'footer.php';?>
<!--  end footer and footer bottom -->

</body>
</html>